<script>
	export default {
		onLaunch: function() {
			console.log('App Launch')
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		created() {
			// localStorage.removeItem('toDoList');
			if(localStorage.toDoList){
				console.log("数据:",localStorage.toDoList)
			}else{
				const toDoList = [];
				localStorage.setItem('toDoList', JSON.stringify(toDoList));
				console.log('创建 toDoList')
				console.log("数据:",localStorage.toDoList)
			}
		},
	}
</script>

<style>
	/*每个页面公共css */
	*{
		margin:0;
		padding:0;
		box-sizing: border-box;
	}
</style>
